package com.edu.lwh.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 会哥
 * @since 2024-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("trade")
public class Trade implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联的账户id
     */
    private String aid;

    /**
     * 操作类型:存款/取款/转账
     */
    private String tradeType;

    /**
     * 操作金额
     */
    private BigDecimal tradeMoney;

    /**
     * 操作时间
     */
    private LocalDate tradeTime;

    /**
     * 日志详情
     */
    private String tradeDigest;


}
